<style type="text/css">
table, td, th, tr
{
border:1px orange;
}
th
{
background-color:orange;
color:white;
}

td
{
   font-size: 90%;
   font-family:Serif;
}
tr:hover{
	background-color: #FFFF66;
}
</style>
<table border="1" width="500">
<tr>
Course Details<br><br>
</tr>

<th>Description</th>
<th>Entry</th>

<tr>
<?php foreach($this->courses as $course) : ?>
<td width="60%" align="center">
Course Name</td> <td width="60%" align="center"><?php echo $this->escape($course->course_name);?><br></td></tr>

<tr>
<td width="60%" align="center">
Course Number</td> <td width="60%" align="center"> <?php echo $this->escape($course->course_number);?><br></td></tr>

<tr>
<td width="60%" align="center">
Number of credits</td> <td width="60%" align="center"> <?php echo $this->escape($course->course_credits);?><br></td></tr>

<tr>
<td width="60%" align="center">
Desired Grade</td> <td width="60%" align="center"><?php echo $this->escape($course->desired_grade);?><br></td></tr>

<tr >
<td width="60%" align="center">Semester</td> <td width="60%" align="center"> <?php echo $this->escape($course->semester);?><br></td></tr>

<tr >
<td width="60%" align="center">Year</td> <td width="60%" align="center"> <?php echo $this->escape($course->year);?><br></td></tr>


<?php endforeach; ?>
</table>
<br><br>
<table>

<td width="30%" align="left">
<a href ="<?php echo $this->url(array('module'=>'student', 'controller'=>'assessment',
    'action'=>'index', 'id'=>$course->id));?>"><u>View Assessments</u></a></td>


<td width="30%" align="left">
<a href ="<?php echo $this->url(array('module'=>'student', 'controller'=>'scale',
    'action'=>'index', 'id'=>$course->id));?>"><u>View Grading Policy</u></a></td>


<td width="30%" align="center">
<a href ="<?php echo $this->url(array('module'=>'student', 'controller'=>'course',
    'action'=>'edit', 'id'=>$course->id));?>"><u>Edit Course</u></a></td>


<td width="50%" align="left">
<a href ="<?php echo $this->url(array('module'=>'student', 'controller'=>'course',
    'action'=>'delete', 'id'=>$course->id));?>"><u>Delete</u></a></td>


</table>


